<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #box{
      width: 70vw;
      height: 70vw;
      background: red;
    }
  </style>
</head>
<body>
  <div id="box"></div>
  <script>
    /**
     * 移动端默认事件
     * -touchstart 手指触碰
     * -touchmove  手指移动
     * -touchend   手指抬起 
     */
    let box = document.querySelector('#box')
    box.addEventListener("touchstart", () => {
      console.log("start")
    })
    box.addEventListener("touchmove", () => {
      console.log("move")
    })
    box.addEventListener("touchend", () => {
      console.log("end")
    })
  </script>
</body>
</html>